package ZooManagementSystem2.ZooEntity;

public class UserAnimal extends User{
    private int animalAge;

    //动物所属园区
    private String animalPark;

    public UserAnimal(String animalName) {
        super.setUserName(animalName);
    }

    public UserAnimal() {
    }

    public int getAnimalAge() {
        return animalAge;
    }

    public void setAnimalAge(int animalAge) {
        this.animalAge = animalAge;
    }

    public String getAnimalPark() {
        return animalPark;
    }

    public void setAnimalPark(String animalPark) {
        this.animalPark = animalPark;
    }
}
